package com.primeton.wh.mcenter.impl.message.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.primeton.wh.mcenter.api.model.Message;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 消息表 Mapper 接口
 * </p>
 *
 * @author YunTao.Li
 * @since 2020-03-15
 */
@Mapper
public interface MessageMapper extends BaseMapper<Message> {

    List<Message> selectMessage(IPage<Message> page, @Param("msgTitle") String msgTitle, @Param("startDate") String startDate, @Param("endDate") String endDate, @Param("msgTo") String msgTo, @Param("appCode") String appCode,@Param("appNameQuery")String appNameQuery,@Param("mcStatus") String mcStatus);
}
